home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / ownselect.z / ownselect
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____OOOOwwwwnnnnSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333TTTTkkkk))))                                      TTTTkkkk____OOOOwwwwnnnnSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_OwnSelection - make a window the owner of the primary selection
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      TTTTkkkk____OOOOwwwwnnnnSSSSeeeelllleeeeccccttttiiiioooonnnn(_t_k_w_i_n, _s_e_l_e_c_t_i_o_n, _p_r_o_c, _c_l_i_e_n_t_D_a_t_a)                      |
  15.  
  16. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  17.      Tk_Window        _t_k_w_i_n        (in)      Window that is to become new
  18.                                              selection owner.
  19.  
  20.      Atom             _s_e_l_e_c_t_i_o_n    (in)      The name of the selection to be  |
  21.                                              owned, such as XA_PRIMARY.
  22.  
  23.      Tk_LostSelProc   *_p_r_o_c        (in)      Procedure to invoke when _t_k_w_i_n
  24.                                              loses selection ownership later.
  25.  
  26.      ClientData       _c_l_i_e_n_t_D_a_t_a   (in)      Arbitrary one-word value to pass
  27.                                              to _p_r_o_c.
  28.  
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      TTTTkkkk____OOOOwwwwnnnnSSSSeeeelllleeeeccccttttiiiioooonnnn arranges for _t_k_w_i_n to become the new owner of the        |
  32.      selection specified by the atom _s_e_l_e_c_t_i_o_n.  After this call completes,   |
  33.      future requests for the selection will be directed to handlers created   |
  34.      for _t_k_w_i_n using TTTTkkkk____CCCCrrrreeeeaaaatttteeeeSSSSeeeellllHHHHaaaannnnddddlllleeeerrrr.  When _t_k_w_i_n eventually loses the
  35.      selection ownership, _p_r_o_c will be invoked so that the window can clean
  36.      itself up (e.g. by unhighlighting the selection).  _P_r_o_c should have
  37.      arguments and result that match the type TTTTkkkk____LLLLoooossssttttSSSSeeeellllPPPPrrrroooocccc:
  38.           typedef void Tk_LostSelProc(ClientData _c_l_i_e_n_t_D_a_t_a);
  39.      The _c_l_i_e_n_t_D_a_t_a parameter to _p_r_o_c is a copy of the _c_l_i_e_n_t_D_a_t_a argument
  40.      given to TTTTkkkk____OOOOwwwwnnnnSSSSeeeelllleeeeccccttttiiiioooonnnn, and is usually a pointer to a data structure
  41.      containing application-specific information about _t_k_w_i_n.
  42.  
  43.  
  44. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  45.      own, selection owner
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.